const getters = {
    token: state => state.user.token,
    name: state => state.user.name,
    user: state => state.user.user,
    count: state => state.user.cartCount
}

export default getters